package models;

import java.io.Serializable;
import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Unindexed;

@SuppressWarnings("serial")
@Cached
public class IdCountModel implements Serializable {

	/**
	 * 1 - Mã Deal. 2 - Mã đơn hàng. 3 - Mã sản phẩm. 4 - Mã nhân viên. 5 - Mã
	 * tuyến. 6 - Mã khách hàng.
	 */
	@Id
	private String typeId;

	@Unindexed
	private Long currentCount;

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public Long getCurrentCount() {
		return currentCount;
	}

	public void setCurrentCount(Long currentCount) {
		this.currentCount = currentCount;
	}

}
